package com.canxin.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 用于存放绑定用户的信息
 * @author zhangdaihao
 * @date 2017-03-12 14:43:41
 * @version V1.0   
 *
 */
@Entity
@Table(name = "canxin_bind_user", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class BinduserEntity implements java.io.Serializable {
	/**wechatname*/
	private java.lang.String wechatname;
	/**relations*/
	private java.lang.String relations;
	/**studentid*/
	private java.lang.String studentid;
	/**studentname*/
	private java.lang.String studentname;
	/**crtdate*/
	private java.lang.String crtdate;
	/**canceldate*/
	private java.lang.String canceldate;
	/**binddate*/
	private java.lang.String binddate;
	/**status*/
	private java.lang.String status;
	/**openid*/
	private java.lang.String openid;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  wechatname
	 */
	@Column(name ="WECHATNAME",nullable=true,length=42)
	public java.lang.String getWechatname(){
		return this.wechatname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  wechatname
	 */
	public void setWechatname(java.lang.String wechatname){
		this.wechatname = wechatname;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  relations
	 */
	@Column(name ="RELATIONS",nullable=true)
	public java.lang.String getRelations(){
		return this.relations;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  relations
	 */
	public void setRelations(java.lang.String relations){
		this.relations = relations;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  studentid
	 */
	@Column(name ="STUDENTID",nullable=true,length=85)
	public java.lang.String getStudentid(){
		return this.studentid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  studentid
	 */
	public void setStudentid(java.lang.String studentid){
		this.studentid = studentid;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  studentname
	 */
	@Column(name ="STUDENTNAME",nullable=true,length=2)
	public java.lang.String getStudentname(){
		return this.studentname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  studentname
	 */
	public void setStudentname(java.lang.String studentname){
		this.studentname = studentname;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  crtdate
	 */
	@Column(name ="CRTDATE",nullable=true,length=2)
	public java.lang.String getCrtdate(){
		return this.crtdate;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  crtdate
	 */
	public void setCrtdate(java.lang.String crtdate){
		this.crtdate = crtdate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  canceldate
	 */
	@Column(name ="CANCELDATE",nullable=true,length=2)
	public java.lang.String getCanceldate(){
		return this.canceldate;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  canceldate
	 */
	public void setCanceldate(java.lang.String canceldate){
		this.canceldate = canceldate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  binddate
	 */
	@Column(name ="BINDDATE",nullable=true,length=2)
	public java.lang.String getBinddate(){
		return this.binddate;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  binddate
	 */
	public void setBinddate(java.lang.String binddate){
		this.binddate = binddate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  status
	 */
	@Column(name ="STATUS",nullable=true)
	public java.lang.String getStatus(){
		return this.status;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  status
	 */
	public void setStatus(java.lang.String status){
		this.status = status;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  openid
	 */
    @Id
	@GenericGenerator(name="session_info_uuid_gen",strategy="assigned")
	@GeneratedValue(generator="session_info_uuid_gen")
	@Column(name ="OPENID",nullable=false,length=85)
	public java.lang.String getOpenid(){
		return this.openid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  openid
	 */
	public void setOpenid(java.lang.String openid){
		this.openid = openid;
	}

}
